﻿<Grid x:Class="WpfSample.SampleContent"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300">
    <Grid.RowDefinitions>
        <RowDefinition Height="*" />
        <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <ListBox Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2" Grid.RowSpan="1" HorizontalAlignment="Stretch" Name="listBox1" VerticalAlignment="Stretch" />
    <TextBox Grid.Column="0" Grid.Row="1" Name="textBox1" />
    <Button Content="_Button" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Right" Name="button1" VerticalAlignment="Top" Click="button1_Click" />
</Grid>
